/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DOUBLE;

/**
 *
 * @author Luis
 */
public class compare {
public static void main (String args[]){

        Double x=12.00;
    System.out.println("regresa un 0 si el valor de el objeto es igual y 1 si es diferente"+x.compare(x,x));
}
}
